<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id='items-selector'>
	<form id="search-form">
		<select name="filter.sellerCids">
			<option value=''>所有分类</option>
			<s:iterator value="categories">
				<option value='<s:property value="cid"/>'
					parent='<s:property value="parentCid"/>'>
					<s:if test="%{parentCid != 0}">└</s:if>
					<s:property value="name" />
				</option>
			</s:iterator>
		</select> <input id="keyword" type="text" name="filter.keyWord" value="关键字"
			style="margin: 0.5em 0;"></input>
		<button id='search' style="margin: 0.5em 0;">查找</button>
	</form>
	<div id="items" class='border' style='height:400px;overflow:auto;'>
		<s:action name="items" executeResult='true'></s:action>
	</div>
	<div class="pager span-18"></div>
</div>

<script type="text/javascript" src='js/items-selector.js'></script>